package it.fuesi.synotools.services.client;

import it.fuesi.synotools.model.info.DSMInfoResponse;
import it.fuesi.synotools.model.info.VolumesListResponse;
import it.fuesi.synotools.services.constants.Service;
import it.fuesi.synotools.services.constants.ServiceType;
import retrofit.http.GET;

/**
 * Created by pascotto on 16/10/14.
 */
@ServiceType(Service.Synology)
public interface InfoClient {


    @GET("/webapi/dsm/info.cgi?api=SYNO.DSM.Info&version=1&method=getinfo")
    DSMInfoResponse info();

    @GET("/webapi/dsm/volume.cgi?api=SYNO.DSM.Volume&version=1&method=list")
    VolumesListResponse getVolumes();





}
